import { pool } from "@/db";
export async function getData(ctx, next) {
  const sql = `select * from travel`; //`select now()`;
  const res = await pool.query(sql);
  console.log("AAAAAAAAAAa", res.rows);
  ctx.body = res.rows;
}
